//
//  ZYPlayingViewController.h
//  ZYMusicPlayer
//
//  Created by 王志盼 on 15/10/13.
//  Copyright © 2015年 王志盼. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ZYMusic.h"
#import "LXSliderView.h"

@class ZYPlayingViewController;

@protocol ZYPlayingViewControllerDelegate <NSObject>

- (void)playingViewControllerExit:(ZYPlayingViewController *)zyPlayVC;

@end

@interface ZYPlayingViewController : UIViewController

@property (weak, nonatomic) IBOutlet LXSliderView *timeSlider;
@property (weak, nonatomic) IBOutlet UILabel *playTimeLabel;
@property (weak, nonatomic) IBOutlet UILabel *totalTimeLabel;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *subNameLabel;
@property (weak, nonatomic) IBOutlet LXSliderView *volSlider;
@property (weak, nonatomic) IBOutlet UISwitch *beastSwitch;
@property (weak, nonatomic) IBOutlet UIButton *playOrPauseButton;
@property (weak, nonatomic) IBOutlet UIButton *playMixBtn;
@property (weak, nonatomic) IBOutlet UIButton *replayBtn;
@property (weak, nonatomic) id<ZYPlayingViewControllerDelegate>delegate;

- (void)musicBegin:(ZYMusic *)music;
- (void)resetPlayingMusic;
- (void)showPlayingView;

@end
